  {if $action!='document' && $action!='rewrite_document'}
    {include file="public/footer_info" /}
  {/if}
  </body>
<script>
  var controller = '{$controller|htmlentities}';
  var action = '{$action|htmlentities}';
  var tongji = '{$tongji|htmlentities}';
  var tongji_url = '{$tongji_url|htmlentities}';
  var static_cdn_type = '{$static_cdn_type|htmlentities}';
</script>

<script src="__CDN__/assets/addons/knowbase/js/jquery.js"></script>
<script src="__CDN__/assets/libs/fastadmin-layer/dist/layer.js"></script>
<script src="__CDN__/assets/addons/knowbase/js/frontend/{$controller|htmlentities}V2.js?{$version|htmlentities}"></script>
<!--<script src="__CDN__/assets/js/require.js" defer async="true" data-main="__CDN__/assets/addons/knowbase/js/frontend/{$controller|htmlentities}.js"></script>-->
<script>
  if (tongji==1) {
    var _hmt = _hmt || [];
    (function() {
      var hm = document.createElement("script");
      hm.src = tongji_url;
      var s = document.getElementsByTagName("script")[0];
      s.parentNode.insertBefore(hm, s);
    })();
  }
</script>
</html>
